//This file is added by lcl at 2012-09-30
package com.shengyin.ec.service.alliance;

import java.util.List;

import com.shengyin.ec.model.entity.AllianceViewerInfo;

public interface AllianceViewInfoService {
	
	public boolean checkAllianceViewer(String username, String password);
	
	public AllianceViewerInfo getAllianceViewerByAllianceViewerId(long id);
	
	public List<AllianceViewerInfo> getAllianceViewerListByAllianceCompanyId(long id);
	
	public void addAllianceViewerByAllianceViewerId(AllianceViewerInfo allianceViewerInfo);
	
	public void createAllianceViewInfo(AllianceViewerInfo allianceViewerInfo);
	
	public int getAllianceViewType(String username);
	
	public AllianceViewerInfo getAllianceViewerByName(String name);

}